package com.example.demo.service;

import com.example.demo.entity.Auth;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


public interface AuthService extends IService<Auth> {
    /**
     * 根据用户名获取菜单
     * @param username 用户名
     * @return 菜单
     */
    List<Auth> getMenu(String username);

    List<Auth> getTopMenu(String username);

}
